<?php
/*
 * 首页入口
 */
include 'bootstrap.php';

//控制器名称
$file_name = basename(__FILE__,'.php');
$controller = $file_name;
//$controller = $_input->get('c',$file_name);
//动作名称
$action = $_input->get('a','index');

Controller::getInstance($controller)->{$action}();
